package com.rlyy.http.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(ServerConfig.class)
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
//@ConditionalOnProperty(value = "netty.server.enable", havingValue = "true", matchIfMissing = true)
@ComponentScan("com.rlyy.http")
public class HttpServerAutoConfiguration {

}
